"use strict";
const e = require("../../common/vendor.js"),
  a = require("../../api/request.js"),
  r = {
    __name: "address-image",
    setup(r) {
      const s = e.ref(!1),
        t = e.ref([]),
        u = e.ref("");
      e.onLoad((async e => {
        u.value = e.value;
        const r = await a.requestApi("/addressImage", {
          page: 1,
          address: u.value
        });
        s.value = !(r.data.length > 0), t.value = r.data
      }));
      const v = e.ref(1);
      return e.onReachBottom((async () => {
        v.value++;
        const e = await a.requestApi("/addressImage", {
          page: v.value,
          address: u.value
        });
        t.value = [...t.value, ...e.data]
      })), (a, r) => e.e({
        a: e.f(t.value, ((a, r, s) => ({
          a: a,
          b: e.o((r => {
            return s = a, void e.wx$1.previewImage({
              current: s,
              urls: t.value
            });
            var s
          }), r),
          c: r
        }))),
        b: s.value
      }, (s.value, {}))
    }
  },
  s = e._export_sfc(r, [
    ["__scopeId", "data-v-2126c94f"]
  ]);
wx.createPage(s);